package sjms.create.prototype;

/**
 * @ClassName:
 * @Description:
 * @Author fcb
 * @Date 2020/5/26 14:53
 */
public class Test {

    public static void main(String[] args) {
        CarManager carManager = new CarManager(new BaoMaCar("宝马"));
        Car car = carManager.getCar();
        System.out.println(car.getName());
    }
}
